package com.tb.model;

public class Prison {
    private Integer id;

    private Integer userId;

    private Long startTime;

    private Long continueTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Long getStartTime() {
        return startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public Long getContinueTime() {
        return continueTime;
    }

    public void setContinueTime(Long continueTime) {
        this.continueTime = continueTime;
    }


    //非自动生成
    private User user;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}